using System;
using System.Collections;
using System.Collections.Generic;
using JetBrains.Annotations;
using UnityEngine;

[CreateAssetMenu]
public class LevelConfig : ScriptableObject
{
    [SerializeField]
    public List<EnemyWaveGroup> EnemyWaveGroups = new List<EnemyWaveGroup>();
}

[Serializable]
public class EnemyWaveGroup
{
    public string Name;
    [TextArea] public string Description = string.Empty;
    [SerializeField]
    public List<EnemyWave> Waves = new List<EnemyWave>(); 
}
/// <summary>
/// 敌人的波次
/// </summary>
[Serializable]
public class EnemyWave
{
    public string Name;
    public bool Active = true;
    public float GenerateDuration = 1;
    public GameObject EnemyPrefab;
    public int scends = 10; // 持续时间
    public float SpeedScale = 1.0f;
    public float HPScale= 1.0f;
} 